<?php $seleted_style = ' style="background-color:#c90d44;color:#fff"';?>
<div class="header">
    <div class="container clearfix">
       <div class="fl logo"><a href="/" title="返回首页"><img alt="魔步网logo" src="<?php echo _get_cfg_path('images')?>logo.png" height="30"/></a></div>
       <div class="fr nav">
           <a class="rm-toggle rm-button rm-nojs" title="菜单">导航菜单</a>
           <nav class="rm-nav rm-nojs rm-lighten">
          <ul class="clearfix">
             <li class="sub_menu_first" top_nav>
                <a <?php if( strtolower(uri_string())=='model' ) echo ' class="nav_on"';?> href="###" first_link>
                    <p>
                        <span class="navimg">模特</span>
                        <span class="navzi"><img alt="模特" src="<?php echo _get_cfg_path('images')?>nav_1.jpg" height="16"/></span>
                    </p>
                </a>
                 <ul class="sub_menu">
                     <?php /* style="height:36px;padding: 2px;border-bottom: 1px solid #8D8D8D;"><img src="<?=_get_cfg_path('images')?>models_1.jpg"/>*/ ?>
                     <li><a href="/<?=_create_url('model', array('sex'=>1,'area'=>1))?>"<?php if($nav_seled==implode('-',array(1))) echo $seleted_style;?>>男&nbsp;&nbsp;模</a>
                         <ul>
                         <?php foreach ($model_label as $key=>$val):?>
                             <li><a href="/<?=_create_url('model', array('sex'=>1,'label'=>$key) )?>"<?php if(isset($model_arrParam['label'])&&$nav_seled==implode('-',array(1,$key))) echo $seleted_style;?>><?=$val?></a></li>
                         <?php endforeach;?>
                         <?php foreach ($nav_areaType as $key=>$val):?>
                             <li><a href="/<?=_create_url('model', array('sex'=>1,'area'=>$key) )?>"<?php if(isset($model_arrParam['area'])&&$nav_seled==implode('-',array(1,$key))) echo $seleted_style;?>><?=$val?>模特</a></li>
                         <?php endforeach;?>
                         </ul>
                     </li>
                     <?php /* style="height:36px;padding: 2px;"><img src="<?=_get_cfg_path('images')?>models_2.jpg"/>*/ ?>
                     <li><a href="/<?=_create_url('model', array('sex'=>2,'area'=>1))?>"<?php if($nav_seled==implode('-',array(2))) echo $seleted_style;?>>女&nbsp;&nbsp;模</a>
                         <ul>
                         <?php foreach ($model_label as $key=>$val):?>
                             <li><a href="/<?=_create_url('model', array('sex'=>2,'label'=>$key) )?>"<?php if(isset($model_arrParam['label'])&&$nav_seled==implode('-',array(2,$key))) echo $seleted_style;?>><?=$val?></a></li>
                         <?php endforeach;?>
                         <?php foreach ($nav_areaType as $key=>$val):?>
                             <li><a href="/<?=_create_url('model', array('sex'=>2,'area'=>$key) )?>" <?php if(isset($model_arrParam['area'])&&$nav_seled==implode('-',array(2,$key))) echo $seleted_style;?>><?=$val?>模特</a></li>
                         <?php endforeach;?>
                         </ul>
                     </li>
                 </ul>
             </li>
             <li top_nav>
                <a <?php if( strtolower(uri_string())=='artist' ) echo ' class="nav_on"';?> href="/artist" first_link>
                    <p>
                        <span class="navimg">艺人</span>
                        <span class="navzi"><img alt="艺人" src="<?php echo _get_cfg_path('images')?>nav_artist.jpg" height="16"/></span>
                    </p>
                </a>
                 <ul class="sub_menu">
                 <?php foreach ($nav_artist as $key => $v):?>
                     <li><a href="/<?=_create_url('artist', array_merge($artist_arrParam, array('type'=>$key)) )?>" <?php if(!empty($artist_arrParam['type']) && $artist_arrParam['type']==$key) echo $seleted_style;?>><?=$v?></a></li>
                 <?php endforeach;?>
                 </ul>
             </li>
             <li top_nav>
                 <a<?php if( strtolower(uri_string())=='ins' ) echo ' class="nav_on"';?> href="/ins" first_link>
                    <p>
                         <span class="navimg">机构</span>
                         <span class="navzi"><img alt="机构" src="<?php echo _get_cfg_path('images')?>nav_2.jpg" height="16"/></span>
                     </p>
                 </a>
                 <ul class="sub_menu">
                 <?php foreach ($nav_ins as $key => $v):?>
                     <li><a href="/<?=_create_url('ins', array_merge($ins_arrParam, array('type'=>$key)) )?>" <?php if(!empty($ins_arrParam['type']) && $ins_arrParam['type']==$key) echo $seleted_style;?>><?=$v?></a></li>
                 <?php endforeach;?>
                 </ul>
             </li>
             <li top_nav>
                 <a<?php if( strtolower(uri_string())=='act' ) echo ' class="nav_on"';?> href="/act" first_link>
                    <p>
                        <span class="navimg">通告</span>
                        <span class="navzi"><img alt="通告" src="<?php echo _get_cfg_path('images')?>nav_3.jpg" height="16"/></span>
                    </p>
                 </a>
                 <ul class="sub_menu">
                 <?php foreach ($nav_act as $k => $v):?>
                     <li><a href="/act?type=<?=$k?>" <?php if(!empty($act_arrParam['type']) && $act_arrParam['type']==$k) echo $seleted_style;?>><?=$v?></a></li>
                 <?php endforeach;?>
                 </ul>
             </li>
             
             <li class="nav_search">
                <a href="/search" title="搜索"><img alt="搜索" src="<?php echo _get_cfg_path('images')?>nsos.jpg" height="20"/></a>
             </li>
          </ul>
           </nav>
       </div>
    </div>
    <div class="header_bg"></div>
</div><!--header-->